#version 330 core
precision mediump float;

in vec2 tex_coord;
out vec4 frag_color;

uniform sampler2D rgb_image;
uniform vec3 tex_color;

void main() {
  frag_color = texture(rgb_image, tex_coord) * vec4(tex_color, 1.0f);
}